<div class="layui-card-body" style="width: 750px;">
    <form class="layui-form" action="{:url()}" method="post">
        <div class="layui-form-item">
            <label class="layui-form-label">产品名称</label>
            <div class="layui-input-block">
                <select name="product_id" lay-search>
                    <volist name="product" id="vo" key="k">
                        <option value="{$vo.id}"> {$vo.title}</option>
                    </volist>
                </select>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">开始时间</label>
            <div class="layui-input-block">
                <input type="text" value="{$info.s_time|default=''}" class="layui-input" name="s_time" placeholder="请选择" readonly id="s_time">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">结束时间</label>
            <div class="layui-input-block">
                <input type="text" value="{$info.e_time|default=''}" class="layui-input" name="e_time" placeholder="请选择" readonly id="e_time">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">项目状态</label>
            <div class="layui-input-inline">
                <select name="status" lay-search>
                    <volist name="product_status" id="vo" key="k">
                        <option value="{$k}"
                        <notempty name="info.status">
                            <eq name="$k" value="$info.status">selected="selected"</eq>
                        </notempty>
                        > {$vo} </option>
                    </volist>
                </select>
            </div>
        </div>
        <div class="layui-form-item ">
            <label class="layui-form-label">自定义域名</label>
            <div class="layui-input-block">
                <input type="text" value="{$info.diy_domain|default=''}"
                       class="layui-input" name="diy_domain">
            </div>
        </div>
        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">说明</label>
            <div class="layui-input-block">
                        <textarea name="info" placeholder="请不要超过50个汉字"
                                  class="layui-textarea">{$info.info|default=''}</textarea>
            </div>
        </div>

        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">系统备注</label>
            <div class="layui-input-block">
                        <textarea name="sys_info" placeholder="请不要超过200个汉字"
                                  class="layui-textarea">{$info.sys_info|default=''}</textarea>
            </div>
        </div>


    </form>
</div>

<script type="text/javascript">
    layui.use(['element', 'form', 'layer', 'table'], function () {
        var form = layui.form
            , table = layui.table
            , $ = layui.$
            , element = layui.element
            , laydate = layui.laydate;

        laydate.render({
            elem: '#s_time'

        });
        laydate.render({
            elem: '#e_time'

        });


    });

</script>






